Integrand size = 30, antiderivative size = 115 \[ \int \frac {x^3}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx=-\frac {1}{2} \sqrt {-3-4 x-x^2}-2 \arcsin (2+x)+\frac {\arctan \left (\frac {1-\frac {3+x}{\sqrt {-3-4 x-x^2}}}{\sqrt {2}}\right )}{2 \sqrt {2}}-\frac {\arctan \left (\frac {1+\frac {3+x}{\sqrt {-3-4 x-x^2}}}{\sqrt {2}}\right )}{2 \sqrt {2}}+\text {arctanh}\left (\frac {x}{\sqrt {-3-4 x-x^2}}\right ) \]
[Out]
Time = 0.25 (sec) , antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps used = 20, number of rules used = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.433, Rules used = {6860, 633, 222, 654, 1042, 1000, 12, 1040, 1175, 632, 210, 1041, 212} \[ \int \frac {x^3}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx=-2 \arcsin (x+2)+\frac {\arctan \left (\frac {1-\frac {x+3}{\sqrt {-x^2-4 x-3}}}{\sqrt {2}}\right )}{2 \sqrt {2}}-\frac {\arctan \left (\frac {\frac {x+3}{\sqrt {-x^2-4 x-3}}+1}{\sqrt {2}}\right )}{2 \sqrt {2}}+\text {arctanh}\left (\frac {x}{\sqrt {-x^2-4 x-3}}\right )-\frac {1}{2} \sqrt {-x^2-4 x-3} \]
[In]
[Out]
Rule 12
Rule 210
Rule 212
Rule 222
Rule 632
Rule 633
Rule 654
Rule 1000
Rule 1040
Rule 1041
Rule 1042
Rule 1175
Rule 6860
Rubi steps \begin{align*} \text {integral}& = \int \left (-\frac {1}{\sqrt {-3-4 x-x^2}}+\frac {x}{2 \sqrt {-3-4 x-x^2}}+\frac {6+5 x}{2 \sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )}\right ) \, dx \\ & = \frac {1}{2} \int \frac {x}{\sqrt {-3-4 x-x^2}} \, dx+\frac {1}{2} \int \frac {6+5 x}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx-\int \frac {1}{\sqrt {-3-4 x-x^2}} \, dx \\ & = -\frac {1}{2} \sqrt {-3-4 x-x^2}+\frac {1}{2} \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{4}}} \, dx,x,-4-2 x\right )-\frac {5}{8} \int \frac {-6-4 x}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx-\frac {3}{4} \int \frac {1}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx-\int \frac {1}{\sqrt {-3-4 x-x^2}} \, dx \\ & = -\frac {1}{2} \sqrt {-3-4 x-x^2}-\sin ^{-1}(2+x)+\frac {1}{8} \int \frac {-6-4 x}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx-\frac {1}{8} \int -\frac {4 x}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx+\frac {1}{2} \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{4}}} \, dx,x,-4-2 x\right )+\frac {15}{4} \text {Subst}\left (\int \frac {1}{3-3 x^2} \, dx,x,\frac {x}{\sqrt {-3-4 x-x^2}}\right ) \\ & = -\frac {1}{2} \sqrt {-3-4 x-x^2}-2 \sin ^{-1}(2+x)+\frac {5}{4} \tanh ^{-1}\left (\frac {x}{\sqrt {-3-4 x-x^2}}\right )+\frac {1}{2} \int \frac {x}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx-\frac {3}{4} \text {Subst}\left (\int \frac {1}{3-3 x^2} \, dx,x,\frac {x}{\sqrt {-3-4 x-x^2}}\right ) \\ & = -\frac {1}{2} \sqrt {-3-4 x-x^2}-2 \sin ^{-1}(2+x)+\tanh ^{-1}\left (\frac {x}{\sqrt {-3-4 x-x^2}}\right )+4 \text {Subst}\left (\int \frac {1+3 x^2}{-4-8 x^2-36 x^4} \, dx,x,\frac {1+\frac {x}{3}}{\sqrt {-3-4 x-x^2}}\right ) \\ & = -\frac {1}{2} \sqrt {-3-4 x-x^2}-2 \sin ^{-1}(2+x)+\tanh ^{-1}\left (\frac {x}{\sqrt {-3-4 x-x^2}}\right )-\frac {1}{6} \text {Subst}\left (\int \frac {1}{\frac {1}{3}-\frac {2 x}{3}+x^2} \, dx,x,\frac {1+\frac {x}{3}}{\sqrt {-3-4 x-x^2}}\right )-\frac {1}{6} \text {Subst}\left (\int \frac {1}{\frac {1}{3}+\frac {2 x}{3}+x^2} \, dx,x,\frac {1+\frac {x}{3}}{\sqrt {-3-4 x-x^2}}\right ) \\ & = -\frac {1}{2} \sqrt {-3-4 x-x^2}-2 \sin ^{-1}(2+x)+\tanh ^{-1}\left (\frac {x}{\sqrt {-3-4 x-x^2}}\right )+\frac {1}{3} \text {Subst}\left (\int \frac {1}{-\frac {8}{9}-x^2} \, dx,x,\frac {2}{3} \left (-1+\frac {3+x}{\sqrt {-3-4 x-x^2}}\right )\right )+\frac {1}{3} \text {Subst}\left (\int \frac {1}{-\frac {8}{9}-x^2} \, dx,x,\frac {2}{3} \left (1+\frac {3+x}{\sqrt {-3-4 x-x^2}}\right )\right ) \\ & = -\frac {1}{2} \sqrt {-3-4 x-x^2}-2 \sin ^{-1}(2+x)+\frac {\tan ^{-1}\left (\frac {1-\frac {3+x}{\sqrt {-3-4 x-x^2}}}{\sqrt {2}}\right )}{2 \sqrt {2}}-\frac {\tan ^{-1}\left (\frac {1+\frac {3+x}{\sqrt {-3-4 x-x^2}}}{\sqrt {2}}\right )}{2 \sqrt {2}}+\tanh ^{-1}\left (\frac {x}{\sqrt {-3-4 x-x^2}}\right ) \\ \end{align*}
Time = 0.18 (sec) , antiderivative size = 94, normalized size of antiderivative = 0.82 \[ \int \frac {x^3}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx=-\frac {1}{2} \sqrt {-3-4 x-x^2}-\frac {\arctan \left (\frac {3+2 x}{\sqrt {2} \sqrt {-3-4 x-x^2}}\right )}{2 \sqrt {2}}+4 \arctan \left (\frac {\sqrt {-3-4 x-x^2}}{3+x}\right )+\text {arctanh}\left (\frac {x}{\sqrt {-3-4 x-x^2}}\right ) \]
[In]
[Out]
Time = 0.82 (sec) , antiderivative size = 144, normalized size of antiderivative = 1.25
method | result | size |
default | \(-2 \arcsin \left (2+x \right )-\frac {\sqrt {-x^{2}-4 x -3}}{2}+\frac {\sqrt {3}\, \sqrt {4}\, \sqrt {\frac {3 x^{2}}{\left (-\frac {3}{2}-x \right )^{2}}-12}\, \left (\sqrt {2}\, \arctan \left (\frac {\sqrt {\frac {3 x^{2}}{\left (-\frac {3}{2}-x \right )^{2}}-12}\, \sqrt {2}}{6}\right )-4 \,\operatorname {arctanh}\left (\frac {3 x}{\left (-\frac {3}{2}-x \right ) \sqrt {\frac {3 x^{2}}{\left (-\frac {3}{2}-x \right )^{2}}-12}}\right )\right )}{24 \sqrt {\frac {\frac {x^{2}}{\left (-\frac {3}{2}-x \right )^{2}}-4}{\left (1+\frac {x}{-\frac {3}{2}-x}\right )^{2}}}\, \left (1+\frac {x}{-\frac {3}{2}-x}\right )}\) | \(144\) |
risch | \(\frac {x^{2}+4 x +3}{2 \sqrt {-x^{2}-4 x -3}}-2 \arcsin \left (2+x \right )+\frac {\sqrt {3}\, \sqrt {4}\, \sqrt {\frac {3 x^{2}}{\left (-\frac {3}{2}-x \right )^{2}}-12}\, \left (\sqrt {2}\, \arctan \left (\frac {\sqrt {\frac {3 x^{2}}{\left (-\frac {3}{2}-x \right )^{2}}-12}\, \sqrt {2}}{6}\right )-4 \,\operatorname {arctanh}\left (\frac {3 x}{\left (-\frac {3}{2}-x \right ) \sqrt {\frac {3 x^{2}}{\left (-\frac {3}{2}-x \right )^{2}}-12}}\right )\right )}{24 \sqrt {\frac {\frac {x^{2}}{\left (-\frac {3}{2}-x \right )^{2}}-4}{\left (1+\frac {x}{-\frac {3}{2}-x}\right )^{2}}}\, \left (1+\frac {x}{-\frac {3}{2}-x}\right )}\) | \(152\) |
trager | \(-\frac {\sqrt {-x^{2}-4 x -3}}{2}+\frac {3 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right ) \ln \left (\frac {72 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right )^{2} x -72 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right ) x -36 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right )-3 \sqrt {-x^{2}-4 x -3}+16 x +12}{12 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right ) x -2 x +3}\right )}{2}+\ln \left (\frac {24 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right )^{2} x -8 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right ) x +12 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right )-\sqrt {-x^{2}-4 x -3}-4}{4 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right ) x -2 x -1}\right )-\frac {3 \ln \left (\frac {24 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right )^{2} x -8 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right ) x +12 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right )-\sqrt {-x^{2}-4 x -3}-4}{4 \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right ) x -2 x -1}\right ) \operatorname {RootOf}\left (24 \textit {\_Z}^{2}-16 \textit {\_Z} +3\right )}{2}-2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \ln \left (-\operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) x -2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right )+\sqrt {-x^{2}-4 x -3}\right )\) | \(330\) |
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 175, normalized size of antiderivative = 1.52 \[ \int \frac {x^3}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx=\frac {1}{8} \, \sqrt {2} \arctan \left (\frac {\sqrt {2} x + 3 \, \sqrt {2} \sqrt {-x^{2} - 4 \, x - 3}}{2 \, {\left (2 \, x + 3\right )}}\right ) + \frac {1}{8} \, \sqrt {2} \arctan \left (-\frac {\sqrt {2} x - 3 \, \sqrt {2} \sqrt {-x^{2} - 4 \, x - 3}}{2 \, {\left (2 \, x + 3\right )}}\right ) - \frac {1}{2} \, \sqrt {-x^{2} - 4 \, x - 3} + 2 \, \arctan \left (\frac {\sqrt {-x^{2} - 4 \, x - 3} {\left (x + 2\right )}}{x^{2} + 4 \, x + 3}\right ) - \frac {1}{4} \, \log \left (-\frac {2 \, \sqrt {-x^{2} - 4 \, x - 3} x + 4 \, x + 3}{x^{2}}\right ) + \frac {1}{4} \, \log \left (\frac {2 \, \sqrt {-x^{2} - 4 \, x - 3} x - 4 \, x - 3}{x^{2}}\right ) \]
[In]
[Out]
\[ \int \frac {x^3}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx=\int \frac {x^{3}}{\sqrt {- \left (x + 1\right ) \left (x + 3\right )} \left (2 x^{2} + 4 x + 3\right )}\, dx \]
[In]
[Out]
\[ \int \frac {x^3}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx=\int { \frac {x^{3}}{{\left (2 \, x^{2} + 4 \, x + 3\right )} \sqrt {-x^{2} - 4 \, x - 3}} \,d x } \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 185, normalized size of antiderivative = 1.61 \[ \int \frac {x^3}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx=\frac {1}{4} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (\frac {3 \, {\left (\sqrt {-x^{2} - 4 \, x - 3} - 1\right )}}{x + 2} + 1\right )}\right ) + \frac {1}{4} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (\frac {\sqrt {-x^{2} - 4 \, x - 3} - 1}{x + 2} + 1\right )}\right ) - \frac {1}{2} \, \sqrt {-x^{2} - 4 \, x - 3} - 2 \, \arcsin \left (x + 2\right ) + \frac {1}{2} \, \log \left (\frac {2 \, {\left (\sqrt {-x^{2} - 4 \, x - 3} - 1\right )}}{x + 2} + \frac {3 \, {\left (\sqrt {-x^{2} - 4 \, x - 3} - 1\right )}^{2}}{{\left (x + 2\right )}^{2}} + 1\right ) - \frac {1}{2} \, \log \left (\frac {2 \, {\left (\sqrt {-x^{2} - 4 \, x - 3} - 1\right )}}{x + 2} + \frac {{\left (\sqrt {-x^{2} - 4 \, x - 3} - 1\right )}^{2}}{{\left (x + 2\right )}^{2}} + 3\right ) \]
[In]
[Out]
Timed out. \[ \int \frac {x^3}{\sqrt {-3-4 x-x^2} \left (3+4 x+2 x^2\right )} \, dx=\int \frac {x^3}{\sqrt {-x^2-4\,x-3}\,\left (2\,x^2+4\,x+3\right )} \,d x \]
[In]
[Out]